package com.object.module.lq.chatroom.entity;

import lombok.*;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 聊天记录
 * </p>
 *
 * @since 2023-07-25
 */
@TableName("t_chat_history")
@ApiModel(value = "TChatHistory对象", description = "聊天记录")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TChatHistory implements Serializable
{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "我的id")
    private Integer myId;

    @ApiModelProperty(value = "ta们id")
    private Integer theyId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "发送信息时间")
    private LocalDateTime creatTime;


}
